package com.skyable.device.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skyable.common.common.ServiceResult;
import com.skyable.device.entity.DeviceAuthLog;


/**
 * @author GaoYuan
 * @title: IDeviceAuthLogService
 * @projectName private-cloud
 * @description: TODO
 * @date 2021/7/318:43
 */
public interface IDeviceAuthLogService extends IService<DeviceAuthLog> {

    /**
     * 查询设备授权日志
     * @param domainId
     * @param deviceAuthLog
     * @param page
     * @param limit
     * @return
     */
    ServiceResult<IPage<DeviceAuthLog>> getDeviceLogList(Long domainId, DeviceAuthLog deviceAuthLog, Integer page, Integer limit);

    /**
     * 删除设备授权日志
     * @param logIds
     * @return
     */
    ServiceResult<Boolean> deleteDeviceLogList(Long[] logIds);

}
